<template>
  <h1>EL-按钮组件</h1>
  <!--elementPlus的按钮组件-->
  <el-button>无样式按钮</el-button>
  <hr>
  <el-button type="primary">蓝色primary</el-button>
  <el-button type="success">绿色success</el-button>
  <el-button type="info">灰色info</el-button>
  <el-button type="warning">黄色warning</el-button>
  <el-button type="danger">红色danger</el-button>
  <hr>
  <!-- 单值属性: plain 镂空按钮 -->
  <el-button type="primary" plain>primary</el-button>
  <!-- 单值属性: round 胶囊型按钮 -->
  <el-button type="primary" round>primary</el-button>
  <!-- 单值属性: circle 圆形按钮 -->
  <el-button type="primary" circle>pri</el-button>
  <!-- 单值属性: disabled 禁用按钮 -->
  <el-button type="primary" disabled>primary</el-button>
  <hr>
  <a href="https://www.baidu.com">
    <el-button link>百度链接按钮</el-button>
  </a>
  <br>
  <a href="https://www.tmooc.cn">
    <el-link>达内链接按钮</el-link>
  </a>
  <hr>
  <el-button :icon="Search" circle/>
  <el-button type="primary" :icon="Edit" circle/>
  <el-button type="success" :icon="Check" circle/>
  <el-button type="info" :icon="Message" circle/>
  <el-button type="warning" :icon="Star" circle/>
  <el-button type="danger" :icon="Delete" circle/>

</template>

<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from '@element-plus/icons-vue'
</script>

<style scoped>

</style>